package cn.edu.sjtu.se.dslab.component.design.generate.element;

public enum ElementType {
	
	STATIC_STRING("static_string"),LINE("line"),POINT("point"),DYNAMIC_VAR("dynamic_var"), RECTANGLE("rectangle");
	
	private String name;
	
	private ElementType(String name) {
		this.name = name;
	}

	@Override
	public String toString(){
		//value
		return name;
	}
	//valueOf is used for get value by ElementType Name, not any attribute,like STATIC_STRING
	
}
